package com.space.dao;

import com.space.entity.User;

import java.util.List;
import java.util.Map;

/**
 * @author : 港某
 * @date : 2020/2/12 15:49
 */
public interface UserDao {
    User selectUserByAccount(String userAccount);

    User selectUserById(int userId);

    User selectUserByPhone(String userPhone);

    List<User> selectAllUser();

    int selectAllUserCount();

    void insertUser(User user);

    void updateUserStatusById(Map<String, Integer> map);

    void updateUser(User user);

    void updateUserPwd(User user);

    void updateUserPhone(User user);

}
